package by.grsu.crs.dao;

import java.sql.SQLException;
import java.util.List;

import by.grsu.crs.model.Status;

public interface StatusDao {

	public boolean addStatus(Status status) throws SQLException;

	public List<Status> getAllStatuses() throws SQLException;

	public Status getStatusById(int id) throws SQLException;

	public List<Status> getStatusesByType(Status.Type type) throws SQLException;

	public boolean deleteStatusByID(int id) throws SQLException;

	public boolean updateStatusById(int id, Status status) throws SQLException;

}